/**
 * com.mantisframework.model
 *

 */

package com.mantisframework.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * 
 * 
 * @author 李奎和
 * 
 *         <p>
 *         时间：2013-1-5 下午06:09:59
 *         </p>
 * 
 *         <p>
 *         电子邮件：likh@hwttnet.com
 *         </p>
 */
@Entity
@Table(name="m_sys_users_contact")
public class MSysUsersContact implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "CONTACT_ID")
	private Long contactId;

	@Column(name = "USER_ID", nullable = false, updatable = false)
	private Long userId;
	@Column(name = "MOBILE_PHONE", length = 12)
	private String mobilePhone;
	@Column(name = "MOBILE_SMALL", length = 10)
	private String mobileSmall;
	@Column(name = "TEL", length = 20)
	private String tel;
	@Column(name = "QQ", length = 50)
	private String qq;
	@Column(name = "MSN", length = 50)
	private String msn;
	@Column(name = "IS_MAIN", columnDefinition = "default '0'")
	private Integer isMain;
	@Column(name = "IS_DEL", columnDefinition = "default '0'")
	private Integer isDel;
	@Column(name = "IS_PUBLIC", columnDefinition = "default '1'")
	private Integer isPublic;
	@Column(name = "companyId")
	private Long companyId;

	/**
	 * @return contactId
	 */

	public Long getContactId() {
		return contactId;
	}

	/**
	 * @param contactId
	 *            要设置的 contactId
	 */

	public void setContactId(Long contactId) {
		this.contactId = contactId;
	}

	/**
	 * @return userId
	 */

	public Long getUserId() {
		return userId;
	}

	/**
	 * @param userId
	 *            要设置的 userId
	 */

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	/**
	 * @return mobilePhone
	 */

	public String getMobilePhone() {
		return mobilePhone;
	}

	/**
	 * @param mobilePhone
	 *            要设置的 mobilePhone
	 */

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	/**
	 * @return mobileSmall
	 */

	public String getMobileSmall() {
		return mobileSmall;
	}

	/**
	 * @param mobileSmall
	 *            要设置的 mobileSmall
	 */

	public void setMobileSmall(String mobileSmall) {
		this.mobileSmall = mobileSmall;
	}

	/**
	 * @return tel
	 */

	public String getTel() {
		return tel;
	}

	/**
	 * @param tel
	 *            要设置的 tel
	 */

	public void setTel(String tel) {
		this.tel = tel;
	}

	/**
	 * @return qq
	 */

	public String getQq() {
		return qq;
	}

	/**
	 * @param qq
	 *            要设置的 qq
	 */

	public void setQq(String qq) {
		this.qq = qq;
	}

	/**
	 * @return msn
	 */

	public String getMsn() {
		return msn;
	}

	/**
	 * @param msn
	 *            要设置的 msn
	 */

	public void setMsn(String msn) {
		this.msn = msn;
	}

	/**
	 * @return isMain
	 */

	public Integer getIsMain() {
		return isMain;
	}

	/**
	 * @param isMain
	 *            要设置的 isMain
	 */

	public void setIsMain(Integer isMain) {
		this.isMain = isMain;
	}

	/**
	 * @return isDel
	 */

	public Integer getIsDel() {
		return isDel;
	}

	/**
	 * @param isDel
	 *            要设置的 isDel
	 */

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

	/**
	 * @return isPublic
	 */

	public Integer getIsPublic() {
		return isPublic;
	}

	/**
	 * @param isPublic
	 *            要设置的 isPublic
	 */

	public void setIsPublic(Integer isPublic) {
		this.isPublic = isPublic;
	}

	/**
	 * @return companyId
	 */

	public Long getCompanyId() {
		return companyId;
	}

	/**
	 * @param companyId
	 *            要设置的 companyId
	 */

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}
}
